home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
Booting Gallery
/
Booting Gallery (source)
/
Sources
/
INIT Sources
/
StAllowDraw.h
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1996-06-22
|
189 b
|
14 lines
|
[
TEXT/CWIE
]
#pragma once
#include <globals.h>
class StAllowDraw
{
public:
StAllowDraw() {fSave = *((char*)0x910); *((char*)0x910) = 1;}
~StAllowDraw() {*((char*)0x910) = fSave;}
char fSave;
};